class {
  declare x: string;
  y = 2;
}

static class MyClass {
  declare x: string;
  y = 2;
}
